<!DOCTYPE html>
<html>
  <head>
    <title>chengfabiao.html</title>
	
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
	
  </head>
  <style>
  #pid1{color:red;}
  #pid2{color:green;}
  </style>
  <body>
     乘法口诀表<br>
	<script type="text/javascript">
		document.write("<table>");
		for(var i=1;i<10;i++){
			if(i%2!=0)
				document.write("<tr id='pid1'>");
			else
				document.write("<tr id='pid2'>");
			for(var j=1;j<10;j++){	
					if(i>=j)
						document.write("<td>"+i+"*"+j+"="+i*j+"</td>");			
					}
			document.write("</tr>");
				}
		document.write("</table>");
	</script>
  </body>
</html>
